From 8226cf900c0d625e3a24f8500d8a8d7c12e2afbc Mon Sep 17 00:00:00 2001 From: =?utf8?q?Caol=C3=A1n=20McNamara?= Date: Tue, 28 Jul 2026 17:08:38 +0000 Subject: [PATCH] [PATCH] firebird: name the modules of a system firebird by absolute path MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Debian patches firebird to resolve its plugins, intl and conf directories under the FIREBIRD variable (instead of where it was built) and we want point that variable at a private directory. But then the modules aren't loaded and no database opens. So write a replacement plugins.conf that lists the absolute path of each plugin module (and the intl conf files) with their macros expanded. each lib.so (otherwise found by default) with no entry names gets an entry of its own. Change-Id: I2696d7197394b7fe9b7739732deadd2cb2e01acc Signed-off-by: Caolán McNamara Reviewed-on: https://gerrit.collaboraoffice.com/c/core/+/7989 Tested-by: Jenkins CPCI Reviewed-by: Michael Stahl (cherry picked from commit b8407b18adf3c6d552d54d7b6657539e2769afd6) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/208882 Tested-by: Jenkins Reviewed-by: Xisco Fauli (cherry picked from commit 09dbbe16b04add973ab04fe5937c12478e52451c) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/208893 Gbp-Pq: Name firebird-module-path.diff --- config_host/config_firebird.h.in | 12 ++ configure.ac | Bin 584076 -> 585094 bytes .../source/drivers/firebird/Driver.cxx | 173 ++++++++++++++++++ 3 files changed, 185 insertions(+) diff --git a/config_host/config_firebird.h.in b/config_host/config_firebird.h.in index edfbb2df62b..e1d7bcce6fc 100644 --- a/config_host/config_firebird.h.in +++ b/config_host/config_firebird.h.in @@ -7,4 +7,16 @@ Settings for Firebird #define ENABLE_FIREBIRD_SDBC 0 +/* The directory a system firebird has its plugin modules in, empty for a bundled firebird or when it + could not be determined. */ +#define SYSTEM_FIREBIRD_PLUGINS_DIRECTORY "" + +/* The directory a system firebird has its international modules in, empty for a bundled firebird or + when it could not be determined. */ +#define SYSTEM_FIREBIRD_INTL_DIRECTORY "" + +/* The directory a system firebird has its own configuration files in, empty for a bundled firebird + or when it could not be determined. */ +#define SYSTEM_FIREBIRD_CONF_DIRECTORY "" + #endif diff --git a/configure.ac b/configure.ac index 07d1a6d04e53d15822d00058bfa443f4b803fa1a..12c5947f6e6545f5ab7246a68dcbaab1d6d8f9bd 100644 GIT binary patch delta 830 zcmZ{iPiqrF7{%pNkdNN zu;|76;7N*KK`0*d=3Ve8_!T@9ZyubDyG=>#!0ut5_kEw4-!pH&mtX%VPoqqfjdD>w zDtxp&`xTfKFbb^@LqG)XDlQ0?&<(l74921P^~}CcL;zzX!5g zz>?Eb3@XF}Cmx-y*kZ&2EMf`jZnO5-ZSKM;MS>uoVjxT^i~?X72QnVzn<<JtV79*n3tA!5OjMO;Rh!h#`1I74(^EpS!evaB_G=b%yFb({LkvToa)^~|k1 zGsStn_u`4$@Dg$L#y>-OSzx=3)?TU>jSrnk8-H@;^MP$`<@EG-rl>n#^M#w~72C;B z{r*$_j-LL?+PVW->sdWznwVU|pBPRjjE`9bBnLFdtU{!Ka(*JA$Hf&Q8luel)Bn*; z;dT*YTrD6qK}-M%T!~4-m{1CF5g+Qa&xQ3(V;vxcd?axdT$2tm1wFsrHONRmPN1t=w~2xuJ!zg{g(Pg{6gc3tKSzbZbTqzUd3jF|ka4(8bQRU4)a(ig~(